package cc.bluemc.modules.weixin.entity;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
@Table(name="t_wx_qrcord_scan")
public class WxQrcordScanEntity implements Serializable{
    private Long id;

    /**
     * 公众号ID
     **/
    private String appid;

    /**
     * 微信用户
     **/
    private String openid;

    /**
     * 扫描时间
     **/
    private Date scanTime;

    /**
     * 二维码参数
     **/
    private String param;

    /**
     * 新(0)老(1)用户
     **/
    private String subscribe;

    public WxQrcordScanEntity() {
    }

    public WxQrcordScanEntity(Long id, String appid, String openid, Date scanTime, String param, String subscribe) {
        this.id = id;
        this.appid = appid;
        this.openid = openid;
        this.scanTime = scanTime;
        this.param = param;
        this.subscribe = subscribe;
    }

    public void setId(Long id) {
        this.id = id;
    }
	 @Id
    public Long getId() {
        return id;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }
    public String getAppid() {
        return appid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }
    public String getOpenid() {
        return openid;
    }

    public void setScanTime(Date scanTime) {
        this.scanTime = scanTime;
    }
    public Date getScanTime() {
        return scanTime;
    }

    public void setParam(String param) {
        this.param = param;
    }
    public String getParam() {
        return param;
    }

    public void setSubscribe(String subscribe) {
        this.subscribe = subscribe;
    }
    public String getSubscribe() {
        return subscribe;
    }

}
